{% extends "base.html" %}
{%- block body %}
        <section id="sell_list" data-role="page" data-dom-cache="false">
            <header data-role="header" data-position="fixed">
                <h3>清单显示</h3>
            </header>
            <div data-role="content">
                当前销售积分为: {{ agmsell.get('selljf')}}
                <table class="ui-body-a ui-table table-stroke table-stripe">
                    <thead>
                        <tr>
                            <th>标题</th>
                            <th>积分</th>
                            <th>时间</th>
                        </tr>
                    <thead>
                    <tbody>
                        {% for sell in sell_list %}<tr>
                            <td>{{sell.get('title')}}</td>
                            <td>{{sell.get('cost')}}</td>
                            <td>{{sell.created_at.strftime('%y-%m-%d %H:%M')}}</td>
                        </tr>{% endfor %}
                    </tbody>
                </table> 
            </div>
            <footer data-role="footer" data-theme="b" data-position="fixed"><h3><small>©2015 音速风暴</small></h3></footer>
        </section>
    {% endblock %}        